package com.basis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.basis.entity.baseEntity.Page;

import java.io.Serializable;

/**      
 * @Description:   用户和角色关系表
 * @author:        lxd
 * @date:          2019年11月26日 下午4:41:28     
 */ 

public class SysUserRole extends Page  implements Serializable {

	/**
	 * id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	private Integer userId;

	private Integer roleId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	@Override
	public String toString() {
		return "SysUserRole{" + "id=" + id + ", userId=" + userId + ", roleId=" + roleId + "}";
	}
}
